package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the PARAMETROS database table.
 * 
 */
@Entity
@Table(name="PARAMETROS")
public class Parametro implements Serializable {
	private static final long serialVersionUID = 1L;
	private long paramId;
	private String codPrm;
	private String descripcion;
	private Date tsCrea;
	private Date tsModi;
	private String usuaCrea;
	private String usuaModi;
	private String valor;

    public Parametro() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="PARAM_ID", unique=true, nullable=false)
	public long getParamId() {
		return this.paramId;
	}

	public void setParamId(long paramId) {
		this.paramId = paramId;
	}


	@Column(name="COD_PRM", nullable=false, length=3)
	public String getCodPrm() {
		return this.codPrm;
	}

	public void setCodPrm(String codPrm) {
		this.codPrm = codPrm;
	}


	@Column(length=50)
	public String getDescripcion() {
		return this.descripcion;
	}

	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_CREA", nullable=false)
	public Date getTsCrea() {
		return this.tsCrea;
	}

	public void setTsCrea(Date tsCrea) {
		this.tsCrea = tsCrea;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_MODI", nullable=false)
	public Date getTsModi() {
		return this.tsModi;
	}

	public void setTsModi(Date tsModi) {
		this.tsModi = tsModi;
	}


	@Column(name="USUA_CREA", nullable=false, length=15)
	public String getUsuaCrea() {
		return this.usuaCrea;
	}

	public void setUsuaCrea(String usuaCrea) {
		this.usuaCrea = usuaCrea;
	}


	@Column(name="USUA_MODI", nullable=false, length=15)
	public String getUsuaModi() {
		return this.usuaModi;
	}

	public void setUsuaModi(String usuaModi) {
		this.usuaModi = usuaModi;
	}


	@Column(nullable=false, length=80)
	public String getValor() {
		return this.valor;
	}

	public void setValor(String valor) {
		this.valor = valor;
	}

}